package com.zfast.config.service;

import com.zfast.config.entity.Menu;

import java.util.List;

/**
 * @Classname TreeMenuService
 * @Description None
 * @Date 2019/7/16 23:08
 * @Created by WDD
 */
public interface TreeMenuService {

    List<Menu> selectByAdminId(String id);


    List<Menu> selectAll();

    Menu selectById(String id);

    Menu selectByName(String name);

    Menu selectByUrl(String url);

    int editByPermission(Menu menu);

    int insertPermission(Menu menu);

    int delByPermissionIds(List<String> ids);

    List<Menu> selectByPid(String id);

    List<Menu> selectByRoleId(String id);

    int updateRolePermission(List<String> ids, String id);
}
